package com.lry.core;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Log implements Serializable {

    private byte[] command;

    private long term;

    private long index;


    public Log(byte[] command, long term) {
        this.command = command;
        this.term = term;
    }
}
